package com.example.blog.mapper;

import com.example.blog.config.page.PageRequest;
import com.example.blog.entity.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: lu
 * @Date: 2024-01-15-17:00
 * @Description:
 */
@Repository
public interface TagMapper {
    List<Tag>  find();

    void create(Tag tag);

    void update(Tag tag);

    int delete(Integer id);

    boolean batchAddTag(List<Tag> tags);


 }
